package com.example.practical_training_projects.service;

import com.example.practical_training_projects.entity.pc;
import com.example.practical_training_projects.entity.questionform;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface questionformService {
    List<questionform> getAllQF();
    PageInfo<questionform> findqfpage(Integer pageNum, Integer pageSize);//分页，pageNum：当前是第几页,pageSize：每页多少条数据
    Integer insertQF(questionform qf);
    Integer deleteQF(Integer qf);
    Integer updateQF(questionform qf);
    List<questionform>  getQFBYName(String q_name);
    questionform findQFuid(Integer q_uid);

    void incrementLikes(Integer q_uid);


    List<questionform> getQuestionsByMultiCriteria(String search);

}
